/**
 * yeahmobi.com Inc.
 * Copyright © 2014 YeahMobi | All Rights Reserved.
 */

package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Id;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author giser.yang
 * @Title: Page.java
 * @Copyright: Copyright © 2015
 * @Description:
 * @Company: yeahmobi
 * @Created on 下午5:54:54
 */


/**
 * id
 fb_page_id
 can_post
 category
 has_anded_app
 is_community_page
 is_published
 likes
 link
 name
 picture_url
 talking_about_count
 were_here_count
 */
@Setter
@Getter
@NoArgsConstructor
public class Page implements Serializable {
    private static final long serialVersionUID = 6561854630445781446L;
    @Id
    private Long id;
    //Column:fb_page_id
    private Long fbPageId;
    //Column:picture_url
    private String pictureUrl;
    //Column:were_here_count
    private Integer wereHereCount;
    //Column:talking_about_count
    private Integer talkingAboutCount;
    //Column:name
    private String name;
    //Column:link
    private String link;
    //Column:likes
    private Integer likes;
    //Column:is_published
    private Boolean isPublished;
    //Column:is_community_page
    private Boolean isCommunityPage;
    //Column:has_anded_app
    private Boolean hasAndedApp;
    //Column:can_post
    private Boolean canPost;
    //Column:category
    private String category;

    public void setPublished(Boolean published) {
        isPublished = published;
    }

    public void setCommunityPage(Boolean communityPage) {
        isCommunityPage = communityPage;
    }
    public void setIsPublished(Boolean published) {
        isPublished = published;
    }

    public void setIsCommunityPage(Boolean communityPage) {
        isCommunityPage = communityPage;
    }
}
